$OpenBSD: patch-src_core_Makefile_am,v 1.2 2011/10/19 09:47:26 dcoppa Exp $
--- src/core/Makefile.am.orig	Sat May  4 19:21:43 2002
+++ src/core/Makefile.am	Tue Oct 18 15:11:37 2011
@@ -1,7 +1,7 @@
 moduledir = $(libdir)/irssi/modules
 
 module_LTLIBRARIES = libicb_core.la
-libicb_core_la_LDFLAGS = -avoid-version
+libicb_core_la_LDFLAGS = -module -avoid-version
 
 INCLUDES = \
 	$(GLIB_CFLAGS) \
@@ -12,6 +12,7 @@ libicb_core_la_SOURCES = \
 	icb-channels.c \
 	icb-commands.c \
 	icb-core.c \
+	icb-nicklist.c \
 	icb-queries.c \
 	icb-servers-reconnect.c \
 	icb-protocol.c \
@@ -22,6 +23,7 @@ noinst_HEADERS = \
 	icb.h \
 	icb-channels.h \
 	icb-commands.h \
+	icb-nicklist.h \
 	icb-protocol.h \
 	icb-queries.h \
 	icb-servers.h \
